#include<bits/stdc++.h>
#include"SaveData.h"
using namespace std;
class test {
public:
	int n;
	int m;
	int www() {
		return 0;
	}
};
int main() {
	SaveData Data("GuGuGameData");
	test q;
	q.n=1;
	q.m=2;
	Data.SaveVoid((char*)&q,"q",sizeof(q));
	test w;
	Data.GetVoid((char*)&w,"q",sizeof(w));
	cout<<w.n<<endl;
	cout<<w.m<<endl;
	return 0;
}